<?php 
$show_validator = true;
include TMPL_PATH.'public/header.phtml';
?>
<script type="text/javascript"> 
<!--
	$(function(){
		$.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50'}, function(){this.close();$(obj).focus();})}});
		$("#name").formValidator({onshow:"请输入分类目录名称",onfocus:"请输入分类目录名称",oncorrect:"输入正确"}).inputValidator({min:1,onerror:"请输入分类目录名称"});
	})
//-->
</script>

<form name="myform" id="myform" action="<?php echo U('vocabulary/edit');?>" method="post">
<div class="pad-10">
<div class="col-tab">
<div class="contentList pad-10">

<table width="100%" class="table_form ">
      <tr>
        <th width="100">分类目录名称：</th>
        <td><input type="text" name="name" id="name" class="input-text" value="<?php echo $vinfo['name']?>"/></td>
      </tr>
			<tr>
        <th>分类目录别名：</th>
        <td><input type="text" name="name_cn" class="input-text" value="<?php echo isset($vinfo['name_cn']) ? $vinfo['name_cn'] : null;?>"/></td>
      </tr>
</table>
</div>
 <div class="bk15"></div>
 <input type="hidden" name="id" value="<?php echo $vinfo['id']?>" />
    <input name="dosubmit" type="submit" value="提交" class="dialog" id="dosubmit">
</div>
</div>
</form>

</body>
</html>